package com.frkj.yuan.activity;

import android.graphics.Bitmap;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.core.content.ContextCompat;

import com.frkj.yuan.R;
import com.frkj.yuan.base.BaseActivity;
import com.frkj.yuan.utils.EncodingUtils;
import com.frkj.yuan.utils.FullScreenUtils;

import butterknife.BindView;
import butterknife.OnClick;
import cn.ycbjie.ycstatusbarlib.bar.YCAppBar;

/**
 * 信息说明: 挂号详情
 * company: 兰州丰荣信息科技有限公司
 * 创建时间: on 2022/3/8 10 ：04
 * 项目名称：yuanban
 */
public class RegisteredDetialsActivity extends BaseActivity {
    @BindView(R.id.icon_encode)
    ImageView enCodeImage1;
    @BindView(R.id.base_title)
    TextView mTilteMsg;

    @Override
    public int getLayoutId() {
        return R.layout.activity_registerd_detials;
    }

    @Override
    public void initLayoutView() {
        FullScreenUtils.getInstance().fullScreen(RegisteredDetialsActivity.this,true);

        mTilteMsg.setText("挂号详情");
        //生成二维码
        Bitmap codeBitmap = EncodingUtils.createQRCode("98787879789",500,500,null);
        enCodeImage1.setImageBitmap(codeBitmap);
    }
    @OnClick(R.id.base_back)
    public void OnClick(){
        finishWitchAnimation();
    }
}
